package cn.stylefeng.guns.modular.business.controller;

import cn.stylefeng.roses.kernel.resource.api.annotation.ApiResource;
import cn.stylefeng.roses.kernel.resource.api.annotation.GetResource;
import org.springframework.stereotype.Controller;

/**
 * TODO: 设备管理界面
 * @author mjg
 * @date 2021/3/3 14:42
 */
@Controller
@ApiResource(name = "设备管理界面")
public class DeviceViewController {

    /**
     * 设备管理界面
     *
     * @author mjg
     * @date 2020/3/25 14:00
     */
    @GetResource(name = "设备管理首页", path = "/device/manage")
    public String deviceIndex() {
        return "/modular/business/device/device.html";
    }


    /**
     * 设备管理-新增
     *
     * @author fengshuonan
     * @date 2020/3/25 14:00
     */
    @GetResource(name = "设备管理-新增", path = "/device/manage/add")
    public String deviceAdd() {
        return "/modular/business/device/device_add.html";
    }



    /**
     * 设备管理-编辑
     *
     * @author fengshuonan
     * @date 2020/3/25 14:00
     */
    @GetResource(name = "设备管理-编辑", path = "/device/manage/edit")
    public String deviceEdit() {
        return "/modular/business/device/device_edit.html";
    }



    /**
     * 双击查看设备
     *
     * @author fengshuonan
     * @date 2020/3/25 14:00
     */
    @GetResource(name = "双击查看设备", path = "/device/manage/rowDouble")
    public String deviceRowDouble() {
        return "/modular/business/device/device_rowDouble.html";
    }



}
